const Koa = require('koa')
const router = require('./app/router')
const bodyparser = require('koa-bodyparser')
const app = new Koa()
app.use(router)
app.use(bodyparser())

app.listen(3000,()=>console.log('server listener on http://localhost:3000'))